package com.example.listener;

import lombok.Data;
import org.flowable.common.engine.impl.el.FixedValue;
import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;

/**
 *@Description
 *@Author 庞留杰
 *@Date2022/6/9 9:14
 *@Version V1.0
 **/
@Data
public class MyJavaDelegate implements JavaDelegate {

    private FixedValue users;

    @Override
    public void execute(DelegateExecution execution) {
        // 服务任务
        System.out.println(">>>>>>>>>服务任务>>>>>>>>>"+execution);
        System.out.println(">>>>>>>users>>>>>>>>"+users);
    }
}
